Method and system for predicting a future position of a vehicle using numerical integration

ABSTRACT

A method and system for predicting a future position of a horizon time T h  of an automotive vehicle. The method determines the position of the vehicle at time T 0  using GPS and the speed, acceleration and angle of the steering wheel at time T 0  from appropriate sensors on the vehicle. A nonlinear mathematical model utilizing these factors is then created while the position of the vehicle at time T 0 +T h  is determined through numerical integration of the mathematical model using an adjustable step size T step . The step T step  is modified adaptively in accordance with the accuracy requirements of the vehicle.

RELATED APPLICATION

This application claims priority of U.S. Provisional Patent Application Ser. No. 60/825,589 filed Sep. 14, 2006, which is incorporated herein by reference.

BACKGROUND OF THE INVENTION

I. Field of the Invention

The present relates generally to a method and system for predicting a future position of an automotive vehicle and, more particularly, to such a system utilizing numerical integration of a nonlinear model.

II. Description of Related Art

Many modern automotive vehicles are equipped with some form of vehicle dynamic stability system. Such systems incorporate wheel speed sensors, yaw rate sensors and accelerometers having output signals that are coupled as input signals to a processing unit to control the stability system. Many modern vehicles also include a global positioning system (GPS) receiver to identify the position of the automotive vehicle, typically for a navigation system. Furthermore, current GPS systems of the type used in automotive vehicles typically exhibit an accuracy of one meter or better.

Dedicated short-range communications (DSRC) constitute the leading wireless technology under consideration for cooperative vehicle safety applications. In such systems, automotive vehicles communicate with each other utilizing wireless communications in an effort to increase vehicle safety by decreasing collisions between two or more vehicles. In some systems, an appropriate warning system is provided to the driver of a vehicle warning of an impending collision while, in other systems, the vehicle brakes may be automatically actuated in an attempt to avoid a collision.

In order to achieve crash avoidance between two vehicles, it is necessary to predict the position of the vehicle at a future time within a relatively short time window, typically three to five seconds. Such a relatively short time will enable the operator of the vehicle to apply the brakes, or apply the brakes automatically, in order to avoid the crash.

In order to predict the future position of an automotive vehicle it is conventional to utilize a mathematical nonlinear model of the vehicle. Conventional models include the constant acceleration kinematic model (CA), the kinematic unicycle model (KU), the kinematic bicycle model (KB) or the classic bicycle model (CB). Each model consists of differential equations which, when solved, represent the dynamic action of the automotive vehicle.

Once the model has been selected, the previously utilized approach was to utilize the Kalman Prediction to predict the future horizon position of the vehicle at time T₀+T_(h) where T_(h) equals the horizon time offset into the future from the current time T₀. Since all of the models are nonlinear, continuous time models, in order to apply the discrete Kalman equations, the nonlinear continuous time models must first be linearized through derivation of the Jacobian state transition matrix and the input gain matrix. In addition, the Kalman Prediction requires that a discrete time system model propagate forward through the prediction horizon T_(h). Therefore, at each propagation step, T_(step), the linearized, continuous-time system must be discretized as follows:

$\begin{matrix} {x(t)} & \sim & {{\nabla{{Fx}(t)}} + {\nabla{{Gu}(t)}}} \\ \; & \Downarrow & \; \\ {x\left\lbrack {k + 1} \right\rbrack} & = & {{A_{d}{x\lbrack k\rbrack}} + {B_{d}{u\lbrack k\rbrack}}} \end{matrix}$ where A_(d) is an n×n matrix, B_(d) is an n×p matrix, and where A_(d) and B_(d) are the discretized system using the sample time T_(step).

While the Kalman Prediction has proven sufficiently accurate in automotive systems for predicting the future position of the vehicle, the Kalman Prediction is necessarily computationally intensive. Since microprocessors of the type used in automotive vehicles, for cost considerations, are not extremely fast, the computational-intensive equations required by the Kalman Prediction mandate relatively long time steps T_(step) between sequential equations. This, in turn, can introduce error into the predicted future position of the vehicle.

SUMMARY OF THE PRESENT INVENTION

The present invention provides both a method and system which overcomes the above-mentioned disadvantages of the previously known systems and methods.

In brief, the present system and method is utilized in conjunction with an automotive vehicle having speed, acceleration and steering control or steering wheel sensors which output signals indicative, respectively, of the vehicle velocity, acceleration and position of the steering wheel. All of these sensors are coupled as input signals to a processing unit. Furthermore, additional vehicle sensors, such as yaw-rate gyroscopes, lateral accelerometers, and pitch sensors can be included.

The processing unit also receives the position of the automotive vehicle through a conventional global positioning system (GPS).

Like the previously known systems, the present invention then utilizes one of the conventional kinematic models, e.g. the CA, KU or CV models, as the mathematical model of the vehicle. Then, by utilizing that model, the present invention calculates the position of the vehicle at time T₀+T_(horiz) through numerical integration of the mathematical model using a step size T_(step).

Preferably, Runge-Kutta-Fehlberg (RKF) method is utilized for the numerical integration. Other numerical integration methods may, however, alternately be used.

For improved accuracy, two different orders of the RKF may be utilized in order to determine an error term. For example, the truncation error between the fourth and fifth-order RKF numerical integration may be computed and used to adaptively vary the time step T_(step) used in the numerical integration. For example, whenever the truncation error between the fourth and fifth RKF integration exceeds a preset threshold, the time step T_(step) may be reduced for enhanced accuracy, and vice versa.

In practice, the prediction of the future vehicle position using the RKF integration approximates or even exceeds the accuracy of the vehicle position using the Kalman Prediction, but with substantially fewer computations. As such, less expensive microprocessors, or a processor with shared functions, may be utilized to predict the future position of the vehicle.

BRIEF DESCRIPTION OF THE DRAWING

A better understanding of the present invention will be had upon reference to the following detailed description when read in conjunction with the accompanying drawing, wherein like reference characters refer to like parts throughout the several views, and in which:

FIG. 1 is a block diagrammatic view illustrating an exemplary system of the present invention; and

FIG. 2 is a flowchart illustrating the operation of the preferred embodiment of the present invention.

DETAILED DESCRIPTION OF A PREFERRED EMBODIMENT OF THE PRESENT INVENTION

With reference first to FIG. 1, a simplified block diagram of a preferred embodiment of the future path prediction system 10 of the present invention is shown and comprises a microprocessor 12. The microprocessor 12 receives inputs from a plurality of different sensors. For example, a GPS system 14 of the type found on modern vehicles, particularly modern vehicles with navigation systems, provides an input signal to the microprocessor 12 indicative of the current position at time T₀ of the automotive vehicle.

Similarly, a speed sensor 16 provides an output signal to the microprocessor 12 of the vehicle speed at time T₀ while an acceleration sensor 18 provides an output signal to the microprocessor 12 indicative of the longitudinal acceleration of the vehicle.

A steering control or steering wheel angle sensor 20 also provides an output signal to the microprocessor 12 representative of the angle of the steering wheel. It will be understood, of course, that other steering controls, such as a joystick, may be utilized in lieu of the steering wheel without deviation from the spirit or scope of the invention.

In a fashion that will subsequently be described in greater detail, the microprocessor 12, after computation of a predicted future position of the vehicle, generates an output signal to an output device 22 when an adverse situation, such as a collision, is detected. The output device 22 may be simple in construction, e.g. a warning light or warning audible signaling device, or more complex, such as a device to automatically actuate the vehicle brakes.

In order to predict the future position of the automotive vehicle, a mathematical model of the automotive vehicle is selected which takes into account the translational and rotational speed and acceleration of the vehicle. One such mathematical model is the constant acceleration kinematic model (CA) which is defined in discrete time with a sampling time T. The CA model does not require numerical integration to compute the prediction. The CA model is defined as follows:

$\begin{matrix} {{x_{CA}\left\lbrack {k + T} \right\rbrack} = {\begin{bmatrix} x \\ \overset{.}{x} \\ y \\ \overset{.}{y} \end{bmatrix}\left\lbrack {k + T} \right\rbrack}} \\ {= {{{\begin{bmatrix} 1 & T & 0 & 0 \\ 0 & 1 & 0 & 0 \\ 0 & 0 & 1 & T \\ 0 & 0 & 0 & 1 \end{bmatrix}\begin{bmatrix} x \\ \overset{.}{x} \\ y \\ \overset{.}{y} \end{bmatrix}}\lbrack k\rbrack} +}} \\ {\begin{bmatrix} {0.5T^{2}} & 0 \\ T & 0 \\ 0 & {0.5T^{2}} \\ 0 & T \end{bmatrix}u} \end{matrix}$ with $\begin{matrix} {{\begin{bmatrix} x \\ \overset{.}{x} \\ y \\ \overset{.}{y} \end{bmatrix}\lbrack 0\rbrack} = {\begin{bmatrix} {x\lbrack 0\rbrack} \\ {{v_{x}\lbrack 0\rbrack}{\cos(\psi)}} \\ {y\lbrack 0\rbrack} \\ {{v_{x}\lbrack 0\rbrack}{\sin(\psi)}} \end{bmatrix}\mspace{14mu}{and}}} \\ {u = {\begin{bmatrix} {\cos(\psi)} & {- {\sin(\psi)}} \\ {\sin(\psi)} & {\cos(\psi)} \end{bmatrix}\begin{bmatrix} {a_{x}\lbrack 0\rbrack} \\ {a_{y}\lbrack 0\rbrack} \end{bmatrix}}} \end{matrix}$ where x, y, and ψ are with respect to the earth coordinate frame and v_(x), v_(y), a_(x), and a_(y) are with respect to the vehicle fixed coordinate frame, x is the longitude with positive East, y is latitude with positive North, and ψ is the vehicle heading positive counterclockwise from the x axis. v_(x) is the longitudinal velocity of the vehicle, v_(y) is the lateral velocity, a_(x) is the longitudinal acceleration, and a_(y) is the lateral acceleration.

If the lateral acceleration of the vehicle is measured to be or is assumed to be zero, u reduces to u=[a_(x)[0] cos(ψ)a_(x)[0] sin(ψ)]^(T).

The CA model does not depend on any vehicle parameters or time-varying variables and thus T will equal the prediction horizon T_(h). Only one evaluation of the model is required for the path prediction if only the position at the end of the horizon is of interest. However, in some situations, such as collision avoidance applications, the prediction at intermediate path positions is desirable.

A second mathematical model is the kinetic unicycle model (KU) which is defined by the following nonlinear continuous time equations:

${\overset{.}{x}}_{KU} = {\begin{bmatrix} \overset{.}{x} \\ \overset{.}{y} \\ \overset{.}{\psi} \\ {\overset{.}{v}}_{x} \end{bmatrix} = \begin{bmatrix} {v_{x}{\cos(\psi)}} \\ {v_{x}{\sin(\psi)}} \\ {\omega\lbrack 0\rbrack} \\ {a_{x}\lbrack 0\rbrack} \end{bmatrix}}$ where ω[0] is the yaw rate measurement.

A third model is the kinetic bicycle model (KB) which is similar to the KU model and is defined by the following equations:

${\overset{.}{x}}_{KB} = {\begin{bmatrix} \overset{.}{x} \\ \overset{.}{y} \\ \overset{.}{\psi} \\ {\overset{.}{v}}_{x} \end{bmatrix} = \begin{bmatrix} {v_{x}{\cos\left( {\psi + {{dw}\lbrack 0\rbrack}} \right)}} \\ {v_{x}{\sin\left( {\psi + {{dw}\lbrack 0\rbrack}} \right)}} \\ {\left\lbrack {v_{x}/\left( {a + b} \right)} \right\rbrack{\sin\left( {{dw}\lbrack 0\rbrack} \right)}} \\ {a_{x}\lbrack 0\rbrack} \end{bmatrix}}$ where the constant input dw[0] is the wheel angle measurement, a and b are the perpendicular distances from the front and rear axles to the vehicle's center of gravity, respectively. Thus a+b is the wheelbase of the vehicle.

A yet further model which may be used in the position prediction method and system of the present invention is the classic bicycle model (CB) which includes additional vehicle parameters such as the vehicle mass M and yaw inertia J_(z). The CB model is defined as follows:

${\overset{.}{x}}_{CB} = {\begin{bmatrix} \overset{.}{x} \\ \overset{.}{y} \\ \overset{.}{\psi} \\ {\overset{.}{v}}_{x} \\ {\overset{.}{v}}_{y} \\ \overset{.}{\omega} \end{bmatrix} = \begin{bmatrix} {{v_{x}{\cos(\psi)}} - {v_{y}{\sin(\psi)}}} \\ {{v_{x}{\sin(\psi)}} + {v_{y}{\cos(\psi)}}} \\ \omega \\ {a_{x}\lbrack 0\rbrack} \\ {f_{1}\left( {v_{x},v_{y},\omega,{{dw}\lbrack 0\rbrack}} \right)} \\ {f_{2}\left( {v_{x},v_{y},\omega,{{dw}\lbrack 0\rbrack}} \right)} \end{bmatrix}}$ with $\begin{matrix} {{f_{1}\left( {v_{x},v_{y},\omega,{dw}} \right)} = {\frac{{- 2}\left( {C_{\alpha\; f} + C_{\alpha\; r}} \right)v_{y}}{{Mv}_{x}} +}} \\ {{\left\lbrack {\frac{{- 2}\left( {{C_{\alpha\; f}a} - {C_{\alpha\; r}b}} \right)}{{Mv}_{x}} - v_{x}} \right\rbrack\omega} +} \\ {\left( \frac{2C_{\alpha\; f}}{M} \right){dw}} \end{matrix}$ and $\begin{matrix} {{f_{2}\left( {v_{x},v_{y},\omega,{dw}} \right)} = {\frac{{- 2}\left( {{C_{\alpha\; f}a} + {C_{\alpha\; r}b}} \right)v_{y}}{J_{z}v_{x}} +}} \\ {{\left( \frac{{- 2}\left( {{C_{\alpha\; f}a^{2}} - {C_{\alpha\; r}b^{2}}} \right)}{J_{z}v_{x}} \right)\omega} +} \\ {\left( \frac{2C_{\alpha\; f}a}{J_{z}} \right){dw}} \end{matrix}$ where C_(αf) and C_(αr) are the front and rear cornering stiffnesses, respectively. Again, v_(y)[0] will be set to zero as no measurement or estimate is assumed.

In order to predict the position of the vehicle using one of the selected mathematical models at the horizon time T_(h), the present invention utilizes numerical integration rather than the Kalman Prediction. As such, unlike the Kalman Prediction, there is no need to explicitly linearize or discretize the system. Similarly, unlike the Kalman Prediction, numerical integration has no indication of uncertainty in its estimates but, rather, is fully deterministic.

In applying numerical integration, the time-invariant system dynamics are described as follows: x(t)=f(x(t),u(t))

In order to enhance the efficiency of the calculation, it is desirable to select a numerical integration method with the fewest number of function, f( ), evaluations. A relatively low number of function, f( ), evaluations also enables evaluations to be made with a smaller time step size, T_(step), when desired or when required.

Although any conventional numerical integration method may be utilized in accordance with the present invention, preferably a fifth-order method based on Runge-Kutta-Fehlberg (RKF) is utilized. Such a method is advantageous because it allows a fifth-order accuracy with only six evaluations of the function f( ).

A still further advantage of utilizing a fifth-order RKF equation is that the same six function evaluations may be combined to form both a fourth-order and fifth-order method. This, in turn, allows the difference between the fourth and fifth-order estimates to be used as an estimate of the truncation error that can in turn be used to adjust the step size T_(step). For example, whenever the truncation error exceeds a predetermined threshold, E_(thresh), the step size T_(step) can be reduced in order to increase accuracy, and vice versa.

Evaluation of the differential equations defining the various mathematical models using the RKF numerical integration are well known and widely available so that a further description thereof is unnecessary. For example, such equations may be found in MathWorks as well as other software packages.

With reference now to FIG. 2, a simplified flowchart illustrating the operation of the present invention is illustrated and the CB model used herein for exemplary purposes only. After initiation of the algorithm at step 30, step 30 proceeds to step 31 and sets the initial value of T_(step). Step 31 then proceeds to step 32 where the values of the various vehicle sensors are inputted or read by the microprocessor 12. Step 32 then proceeds to step 34.

At step 347 the vehicle position is determined from the GPS system 14. Step 34 then proceeds to step 35 where the time t is set to T₀. Step 35 then proceeds to step 36.

At step 36 the microprocessor 12, using numerical integration, such as RKF integration, calculates the state of the vehicle, which includes the X, Y position, at the time t+T_(step). Step 36 then proceeds to step 37.

At step 37 the time t+T_(step) is compared to the horizon time T₀+T_(h). If not, step 37 proceeds to step 38.

At step 38, the algorithm determines whether the error between two different orders of numerical integration prediction, e.g. between a fourth and fifth-order RKF prediction, is less than a threshold E_(thresh). If not, step 38 branches to step 40 where the time step T_(step) is reduced by an amount proportional to the error. Step 40 then proceeds back to step 36 where the above process is repeated.

Conversely, if the error is less than the threshold E_(thresh), step 38 instead proceeds to step 41 where time t is set to t+T_(step). Step 41 then proceeds to step 43 where the time increment T_(step) is increased by an amount proportional to the error. Step 43 then proceeds to step 45.

At step 45 the algorithm determines if the time t+T_(step) is past the horizon time T₀+T_(h). If so, step 45 branches to step 47 where T_(step) is set to T₀+T_(h)−t. Step 47 then proceeds back to step 36 where the above process is repeated. Similarly, if the time t+T_(step) is less than the horizon time T₀+T_(h), step 45 also proceeds to step 36.

After the above process has reiterated until the horizon time T₀+T_(h) has been reached, step 37 then branches to step 42. At step 42, the microprocessor 12 determines whether or not an output signal should be sent to warn the driver of an upcoming adverse event should be generated. For example, in the event of an impending collision, the microprocessor, based upon the future prediction of the vehicle position, may anticipate a collision. In this event, step 42 proceeds to step 44 where the microprocessor activates the output device 22. The output device 22 may comprise, for example, an optical or audible warning signal for the driver, may automatically actuate the vehicle brakes, etc.

Conversely, in the event that it is determined that the output device 22 need not be actuated or following actuation of the output device 22, step 42 or 44 branches back to step 32 where the above algorithm is repeated.

For comparison purposes, the computational efficiency of the classic bicycle (CB) model using RKF numerical integration was compared with the classic bicycle model using Kalman Prediction (CLM) under different driving conditions. As shown in Table 1 below, processing using RKF numerical integration in accordance with the present invention is approximately four to five times more efficient, i.e. four times faster, than the comparable Kalman Prediction method:

TABLE 1 Prediction Horizon (seconds) 1 sec 2 sec 3 sec 4 sec 5 sec Model ID Computation Time (milliseconds) CA 0.02 0.02 0.02 0.02  0.02 KU 0.86 0.86 0.88 0.93  0.97 KB 0.90 0.90 0.94 1.00  1.10 CL1 0.02 0.02 0.02 0.02  0.02 CLM Overall 11.6 22.3 32.8 43.4 x 54.4 Accelerating 11.5 22.0 34.1 42.7 60.0 Braking 12.1 23.7 33.1 45.0 55.1 Straight-away 12.0 22.5 33.4 43.1 56.9 S-curves 11.9 22.7 33.1 43.4 58.2 CB Overall 2.90 5.10 7.30 9.30 12.1 Accelerating 2.50 3.90 5.60 6.70  8.70 Braking 3.00 4.60 6.60 8.60 11.2 Straight-away 3.10 4.20 5.70 7.10  8.50 S-curves 2.90 4.90 6.60 8.40 10.4

Furthermore, as shown in Table 2 below, the accuracy of the prediction of the vehicle position at the future horizon time T_(h) utilizing the RKF numerical integration in accordance with the present invention approximates and in many driving conditions exceeds the Kalman Prediction method:

TABLE 2 Prediction Horizon (seconds) 1 sec 2 sec 3 sec 4 sec 5 sec Model ID Accuracy Error (meters) CA 1.09 4.01 8.66 14.8 22.3 KU 0.31 1.18 3.29 7.05 12.6 KB 0.78 2.75 6.47 12.4 20.7 CL1 1.24 4.32 9.12 15.4 23.0 CLM Overall 1.24 2.21 4.18 8.97 16.7 Accelerating 0.72 1.27 2.11 4.43 8.73 Braking 0.34 2.05 5.20 9.51 14.1 Straight-away 0.14 0.23 0.48 1.24 3.31 S-curves 2.43 3.55 5.70 14.2 28.7 CB Overall 0.25 1.00 3.05 6.83 12.5 Accelerating 0.12 0.50 1.59 3.67 7.00 Braking 0.35 2.04 5.19 9.49 14.1 Straight-away 0.09 0.21 0.46 0.96 2.70 S-curves 0.31 1.42 4.87 11.1 20.1

From the foregoing, it can be seen that the present invention provides both a system and method for predicting the future position of an automotive vehicle at a time horizon which, by utilizing numerical integration, is much more efficient and substantially as accurate or more accurate as calculations of the future vehicle position utilizing Kalman Prediction.

Having described our invention, however, many modifications thereto will become apparent to those skilled in the art to which it pertains without deviation from the spirit of the invention as defined by the scope of the appended claims. 

I claim:
 1. A method for predicting a future position of an automotive vehicle having a steering control comprising the steps of: determining the position of the vehicle at time T₀, determining the translational and rotational speeds of the vehicle at time T₀, determining the translational and rotational accelerations of the vehicle at time T₀, determining an angle of the steering control at time T₀, creating a mathematical model of the vehicle using the position, speeds, accelerations and steering control angle at time T₀, calculating the position of the vehicle at a horizon time T₀+T_(h) through numerical integration of the mathematical model, wherein said calculating step further comprises the steps of: calculating the position of the vehicle at time T₀+T_(h) through numerical integration of the mathematical model of a first order of accuracy utilizing a step size T_(step), calculating the position of the vehicle at time T₀+T_(h) through numerical integration of the mathematical model of a second order of accuracy, determining a truncation error between the first and second order of the calculated position of the vehicle at time T₀+T_(h), adjusting T_(step) as a function of the determined truncation error.
 2. The invention as defined in claim 1 wherein said calculating step further comprises the step of calculating the position of the vehicle at time T₀+T_(h) through a Runge-Kutta numerical integration of the mathematical model.
 3. The invention as defined in claim 1 wherein said calculating step further comprises the step of calculating the position of the vehicle at time T₀+T_(h) through a Runge-Kutta-Fehlberg numerical integration of the mathematical model.
 4. The invention as defined in claim 1 wherein said adjusting step comprises the step of reducing T_(step) whenever the truncation error exceeds a predetermined threshold.
 5. The invention as defined in claim 1 wherein said adjusting step comprises the step of increasing T_(step) whenever the truncation error is less than a predetermined threshold.
 6. The invention as defined in claim 1 wherein said position determining step comprises the step of determining the position of the vehicle using the global position system.
 7. The invention as defined in claim 1 wherein said angle determining step comprises the step of reading a steering wheel angle sensor.
 8. The invention as defined in claim 1 wherein said speeding determining step comprises the step of reading a vehicle speed sensor.
 9. The invention as defined in claim 1 wherein said mathematical model creating step comprises the step of creating a mathematical model selected from the group of a constant acceleration kinematic model, kinematic unicycle model or classic bicycle model.
 10. A system for predicting a future position of an automotive vehicle having a steering control comprising: means for determining the position of the vehicle at time T₀, means for determining the translational and rotational speeds of the vehicle at time T₀, means for determining the translational and rotational accelerations of the vehicle at time T₀, means for determining an angle of the steering control at time T₀, means for creating a mathematical model of the vehicle using the position, speeds, accelerations and steering control angle at time T₀, means for calculating the position of the vehicle at a horizon time T₀+T_(h) through numerical integration of the mathematical model, wherein said means for calculating further comprises: means for calculating the position of the vehicle at time T₀+T_(h) through numerical integration of the mathematical model of a first order of accuracy using step size T_(step), means for calculating the position of the vehicle at time T₀+T_(h) through numerical integration of the mathematical model of a second order of accuracy, means for determining a truncation error between the first and second order of the calculated position of the vehicle at time T₀+T_(h), means for adjusting T_(step) as a function of the determined truncation error.
 11. The invention as defined in claim 10 wherein said means for calculating further comprises means for calculating the position of the vehicle at time T₀+T_(h) through a Runge-Kutta numerical integration of the mathematical model.
 12. The invention as defined in claim 10 wherein said means for calculating further comprises means for calculating the position of the vehicle at time T₀+T_(h) through a Runge-Kutta-Fehlberg numerical integration of the mathematical model.
 13. The invention as defined in claim 10 wherein said means for adjusting comprises means for reducing T_(step) whenever the truncation error exceeds a predetermined threshold.
 14. The invention as defined in claim 10 wherein said means for adjusting comprises means for increasing T_(step) whenever the truncation error is less than a predetermined threshold.
 15. The invention as defined in claim 10 wherein said position determining means comprises means for determining the position of the vehicle using the global position system.
 16. The invention as defined in claim 10 wherein said angle determining means comprises means for reading a steering wheel angle sensor.
 17. The invention as defined in claim 10 wherein said speeding determining means comprises means for reading a vehicle speed sensor.
 18. The invention as defined in claim 10 wherein said mathematical model creating means comprises means for creating a mathematical model selected from the group of a constant acceleration kinematic model, kinematic unicycle model or classic bicycle model.
 19. The invention as defined in claim 10 wherein said calculating means comprises a microprocessor. 